<<<<<<< .mine
const nativeUrl = "http://192.168.1.147:8066";
// const nativeUrl = "http://192.168.10.92:9200";
//  "http://192.168.1.147:8066",
const state = {
  icReadDriveOpen: false, // 2022/4/21 zc新增 是否打开读取卡插件
  InstantSharingUrl: "http://119.97.234.14:8081/shareDemo/testData/page", //软件测评链接
  Version: "V1.2.0.63", //  正式63了  116预发  58了
  // Version:'V1.2.2.8',
  chatInputContent: {},
  chatFileList: {},
  myRegisterid: "", //远程注册码
  myControlPassword: "", //远程注册密码
  screenObj: null, //同屏参数
  screenRoomNo: null, //同屏房间链接码
  oldScreenPersonList: [], //同屏邀请人原数组
  initLogin: false,
  soketConnect: false,
  copyImg: null,
  account: null,
  password: null,
  initQCode: "",
  initStatus: true,
  openInterval: null,
  scoketStatus: false,
  scoketClose: true,
  uuid: new Date().getTime() + "",
  deviceId: new Date().getTime(),
  ws: null,
  font_configure: null, //字体配置
  user_configure: [
    {
      notify: "true",
      warningTone: "false",
      notice: "true",
      isLeave: false,
      leaveTime: 5,
      conversation: 15,
      bootlogin: false
    }
  ],
  user_hot_key: ["Alt+Q", "Alt+A", "Alt+R", "Ctrl+W", "1", ""],
  tree: {
    result: [],
    list: [],
    allCheck: false
  },
  myInfo: {},
  headPathUrl: null, // 本地头像的路径
  broadType: "",
  fids: null,
  token: null, //请求token
  token_official: null, //公文的token
  structure: null,
  receiveInfo: 0,
  sendInfo: 0, //发送状态
  isGroup: false, //是否群聊
  groupCheck: null, //群审核
  internetErr: false, //网络链接是否发生错误、断开
  updateUserStatus: null, //当前更新的人员状态
  syncUserStatus: null, //同步会话框的人员状态
  anchorPosition: null, //锚点定位字段
  anchorPosition_organization: null, //锚点定位字段
  updatedUserStatus: "1", //新增修改用户状态
  isMacAddressCommon: null, //新增判断远程控制是否为同一台电脑
  isUpdateSessionList: null, //新增强制刷新会话列表
  isArticleId: null, //新增文章上传图片
  imgMaxVolum: 1024 * 1024 * 4, // 限制发送图片的最大值
  imgDownLoadUrl: "api/v1/oim/head/user/downloadsmall.do?id=", //头像下载路径
  othersApps: [],

  officialManageTotal: 0, //公文未读数
  broadNoRead: 0, //广播未读数

  // 固定申购申请

  purchaseAdd: nativeUrl + "/pages/ntalk/process/purchaseAdd.html",

  // 固定申购列表

  purchaseList: nativeUrl + "/pages/ntalk/process/purchaseList.html",
  //  低值易耗申购
  purchaseAddConsumables:
    nativeUrl + "/pages/ntalk/process/purchaseAddConsumables.html",
  // 列表
  purchaseListConsumables:
    nativeUrl + "/pages/ntalk/process/purchaseList_consumables.html",

  // 低值易耗品申领

  claimantsAdd: nativeUrl + "/pages/ntalk/process/claimantsAdd.html",
  // 列表
  claimantsList: nativeUrl + "/pages/ntalk/process/claimantsList.html",

  /* （4）报废流程申请 */
  scrapAdd: nativeUrl + "/pages/ntalk/process/scrapAdd.html",
  // 列表
  scrapList: nativeUrl + "/pages/ntalk/process/scrapList.html",

  /* （5）调拨流程申请*/
  transferAdd: nativeUrl + "/pages/ntalk/process/transferAdd.html",

  transferList: nativeUrl + "/pages/ntalk/process/transferList.html",

  /* （6）借用流程申请*/

  borrowAdd: nativeUrl + "/pages/ntalk/process/borrowAdd.html",
  borrowList: nativeUrl + "/pages/ntalk/process/borrowList.html",
  // zizhujiurl: "http://192.168.10.32:82/?id=", //  测试自助机
  zizhujiurl : 'http://172.30.88.38/?id=',  //   正式自助机
  // zizhujiurl : 'http://172.16.47.240:8090/#/index?id=123456',
  // zizhujiurl : 'http://127.0.0.1:8527/dist/index.html',
  // wsConnectNum:0,//webscoket连接次数
  // attConnectNum:0,//验签连接次数
  // openOfficialUrl:config.store_openOfficialUrl,
  // url_official:config.store_url_official,
  // url:config.store_url,
  // socket:config.store_socket,
  /** 正式 */
  // openShareFileUrl: "http://222.79.63.199:30029/#/?sfpId=1&sfpConfigJson=", //文件共享请求地址 正式
  // openOfficialUrl: "http://59.56.179.58:8081/#/?username=", //公文管理服务地址 正式
  // url_official: "http://59.56.179.58:8082/", //公文管理接口地址 正式
  // url: "http://top.shenghui56.com:8088/", //请求地址==>正式
  // socket: "ws://59.56.179.50:12020/oim/websocket",
  // off_url: `http://59.56.179.58:8082/`, //正式待办
  /** 测试 */
  postmessageNtalkUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://top.shenghui56.com:8088/"
      : "http://localhost:8080",
  postmessageShareUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://222.79.63.199:30029"
      : "http://localhost:8081",
  openShareFileUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://222.79.63.199:30029/#/?sfpId=1&sfpConfigJson="
      : "http://localhost:8081/#/?sfpId=1&sfpConfigJson=", //文件共享请求地址 测试
  openOfficialUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://59.56.179.58:8081/#/?username="
      : "http://192.168.10.92/#/?username=", //公文管理服务地址 测试
  // "http://172.16.47.244:8080/#/?username=", //公文管理服务地址 测试
  url_official:
    process.env.PROJECT_NAME == "online"
      ? "http://59.56.179.58:8082/"
      : // : "http://172.16.66.36/",
        "http://192.168.10.92:8080/", //公文管理接口地址 测试
  //本地测试
  url:
    process.env.PROJECT_NAME == "online"
      ? "http://top.shenghui56.com:8088/"
      : // ? "http://192.168.10.116:14000/"

        // :  "http://192.168.10.116:12000/", //请求地址==>测试
        // :  "http://192.168.10.116:14000/", //请求地址==>测试
        "http://192.168.10.94:13000/", //请求地址==>测试
        // "http://1172.16.47.245:12000/",
        // "http://caeqw7.natappfree.cc/",
  //  : "http://it.shenghui56.com/lspa/", //请求地址==>测试
  // "http://172.16.66.36:12000/", //请求地址==> 林佳奇
  // "http://172.16.66.67:12000/", //请求地址==> 林周
  socket:
    process.env.PROJECT_NAME == "online"
      ? "ws://59.56.179.50:12020/oim/websocket"
      : // ? "ws://192.168.10.116:14020/oim/websocket"

        // :  "ws://192.168.10.116:12020/oim/websocket",
        // :  "ws://192.168.10.116:14020/oim/websocket",
        "ws://192.168.10.94:13020/oim/websocket",
        // "ws://1172.16.47.245:12010/oim/websocket",
        // "ws://caeqw7.natappfree.cc/oim/websocket",
  // : "ws://it.shenghui56.com/lspc/oim/websocket",
  // "ws://172.16.66.36:12020/oim/websocket", //林佳奇
  // "ws://172.16.66.67:12020/oim/websocket", //林周
  off_url:
    process.env.PROJECT_NAME == "online"
      ? `http://59.56.179.58:8082/`
      : // : `http://172.16.66.36/`,
        `http://192.168.10.92:8080/`, //测试待办
  byLocalUrl: process.env.PROJECT_NAME == "online" ? 0 : 1, //是否从外壳获取验签 0:是 1:否
  // byLocalUrl: 0, //是否从外壳获取验签 1:否 0:是
  environment: process.env,

  // url: "http://192.168.10.94:12000/", //请求地址==>测试
  // socket: "ws://192.168.10.94:12020/oim/websocket",

  // url: "http://119.97.234.14:12000/", //请求地址==>测试
  // socket: "ws://119.97.234.14:12020/oim/websocket",

  // url: "http://172.16.66.53:12000/", //请求地址==>杨威测试
  // socket: "ws://172.16.66.53:12020/oim/websocket",
  // url: "http://192.168.10.32:12000/", //请求地址==>加密测试
  // socket: "ws://192.168.10.32:12020/oim/websocket",
  // url: "http://172.16.66.152:12000/", //请求地址==>加密测试
  // socket: "ws://172.16.66.152:12020/oim/websocket",
  // url: "http://172.16.66.53:12000/", //请求地址==>加密测试
  // socket: "ws://172.16.66.53:12020/oim/websocket",

  // url: "http://172.16.47.234:12000/", //请求地址==>测试
  // socket: "ws://172.16.47.234:12020/oim/websocket",

  heartCheck: {
    timeout: 180000, //60s
    timeoutObj: null,
    reset: function() {
      clearTimeout(this.timeoutObj);
      this.timeoutObj = null;
      this.start();
    },
    sendHeart: function() {
      state.ws.send(
        JSON.stringify({
          head: {
            name: "",
            action: "1.000",
            method: "1.1.0001",
            version: "1",
            time: new Date().getTime()
          },
          body: {}
        })
      );
    },
    start: function() {
      let _this = this;
      if (this.timeoutObj == null) this.sendHeart();
      this.timeoutObj = setTimeout(function() {
        _this.sendHeart();
        _this.timeoutObj = true;
        _this.start();
      }, this.timeout);
    }
  },
  fontSetting: {
    underline: false,
    bold: false,
    italic: false,
    color: "000000",
    name: "Microsoft YaHei",
    size: 14
  },
  personInfoList: [
    //个人信息列表
    {
      title: "账号",
      field: "account"
    },
    {
      title: "工号",
      field: "employeeno"
    },
    {
      title: "性别",
      field: "gender"
    },
    {
      title: "部门",
      field: "departmentnames"
    },
    {
      title: "职务",
      field: "jobtitle"
    },
    {
      title: "手机号",
      field: "mobile"
    },
    {
      title: "电话",
      field: "telephone"
    },
    {
      title: "邮箱",
      field: "email"
    }
  ],
  dropDwonList: [
    "",
    "系统设置",
    "修改密码",
    "清理缓存",
    "下载手机版",
    "关于即时通讯",
    "退出登录"
  ], //下拉设置列表
  messageInfo: null,
  newMessageNotice: false,
  voicePrompt: false,
  deskNotic: false,
  minimized: false,
  copyValue: null,
  chating: false, //zk注释，当前聊天的激活状态,
  b4Leave: false, //zk注释,离开聊天时的chating状态
  defaultRemoteArr: [], //zk129新增，默认可以直接远程的人员（只包含分组）
  remoteMembers: [], //zk0301新增，默认可以直接远程的人员（当前激活的分组的组员）
  authMembers: [], //zk0203新增，哪些人获得了我的授权
  screenshotFilter: false,
  toUndoList: {},
  isCopyFile: "",
  nowMsgUserState: {},
  overtimeMsgKey: "",
  toReply: null, //右键回复
  loginInfo: null, // 登录信息  账号  密码   设备号  内网ip
  pickerOptions: {
    shortcuts: [
      {
        text: "最近一周",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
          picker.$emit("pick", [start, end]);
        }
      },
      {
        text: "最近一个月",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
          picker.$emit("pick", [start, end]);
        }
      },
      {
        text: "最近三个月",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
          picker.$emit("pick", [start, end]);
        }
      }
    ],
    disabledDate: time => {
      return time.getTime() > Date.now() + 24 * 3600 * 1000; //如果不包括今天。就是return time.getTime() > Date.now() - 24*3600*1000;
    }
  },
  search_list_array: {
    user: [],
    msg: [],
    broad: []
  }, //搜索结果
  searchValue: "", //综合搜索
  oldsearchval: "", //zk125新增，优化，暂存上次搜索的关键字
  timeoutObj: {}, //ak0429新增,记录每个公文的剩余查看时间
  defultPath: "", //默认安装路径
  isInputPWD: false, //同屏相关joinScreen
  isJoinScreen: false, //同屏相关joinScreen
  loadingShow: false, //同屏相关joinScreen
  isService: false, //当前是否是客服状态
  connectRemoteServer: false, //连接远程控制服务器
  connectShareScreenServer: false, //连接同屏中转服务器
  broadTreeData: null //广播选择部门
};

export default state;
||||||| .r45079
const nativeUrl = "http://192.168.1.147:8066";
// const nativeUrl = "http://192.168.10.92:9200";
//  "http://192.168.1.147:8066",
const state = {
  icReadDriveOpen: false, // 2022/4/21 zc新增 是否打开读取卡插件
  InstantSharingUrl: "http://119.97.234.14:8081/shareDemo/testData/page", //软件测评链接
  Version: "V1.2.0.63", //  正式63了  116预发  58了
  // Version:'V1.2.2.8',
  chatInputContent: {},
  chatFileList: {},
  myRegisterid: "", //远程注册码
  myControlPassword: "", //远程注册密码
  screenObj: null, //同屏参数
  screenRoomNo: null, //同屏房间链接码
  oldScreenPersonList: [], //同屏邀请人原数组
  initLogin: false,
  soketConnect: false,
  copyImg: null,
  account: null,
  password: null,
  initQCode: "",
  initStatus: true,
  openInterval: null,
  scoketStatus: false,
  scoketClose: true,
  uuid: new Date().getTime() + "",
  deviceId: new Date().getTime(),
  ws: null,
  font_configure: null, //字体配置
  user_configure: [
    {
      notify: "true",
      warningTone: "false",
      notice: "true",
      isLeave: false,
      leaveTime: 5,
      conversation: 15,
      bootlogin: false
    }
  ],
  user_hot_key: ["Alt+Q", "Alt+A", "Alt+R", "Ctrl+W", "1", ""],
  tree: {
    result: [],
    list: [],
    allCheck: false
  },
  myInfo: {},
  headPathUrl: null, // 本地头像的路径
  broadType: "",
  fids: null,
  token: null, //请求token
  token_official: null, //公文的token
  structure: null,
  receiveInfo: 0,
  sendInfo: 0, //发送状态
  isGroup: false, //是否群聊
  groupCheck: null, //群审核
  internetErr: false, //网络链接是否发生错误、断开
  updateUserStatus: null, //当前更新的人员状态
  syncUserStatus: null, //同步会话框的人员状态
  anchorPosition: null, //锚点定位字段
  anchorPosition_organization: null, //锚点定位字段
  updatedUserStatus: "1", //新增修改用户状态
  isMacAddressCommon: null, //新增判断远程控制是否为同一台电脑
  isUpdateSessionList: null, //新增强制刷新会话列表
  isArticleId: null, //新增文章上传图片
  imgMaxVolum: 1024 * 1024 * 4, // 限制发送图片的最大值
  imgDownLoadUrl: "api/v1/oim/head/user/downloadsmall.do?id=", //头像下载路径
  othersApps: [],

  officialManageTotal: 0, //公文未读数
  broadNoRead: 0, //广播未读数

  // 固定申购申请

  purchaseAdd: nativeUrl + "/pages/ntalk/process/purchaseAdd.html",

  // 固定申购列表

  purchaseList: nativeUrl + "/pages/ntalk/process/purchaseList.html",
  //  低值易耗申购
  purchaseAddConsumables:
    nativeUrl + "/pages/ntalk/process/purchaseAddConsumables.html",
  // 列表
  purchaseListConsumables:
    nativeUrl + "/pages/ntalk/process/purchaseList_consumables.html",

  // 低值易耗品申领

  claimantsAdd: nativeUrl + "/pages/ntalk/process/claimantsAdd.html",
  // 列表
  claimantsList: nativeUrl + "/pages/ntalk/process/claimantsList.html",

  /* （4）报废流程申请 */
  scrapAdd: nativeUrl + "/pages/ntalk/process/scrapAdd.html",
  // 列表
  scrapList: nativeUrl + "/pages/ntalk/process/scrapList.html",

  /* （5）调拨流程申请*/
  transferAdd: nativeUrl + "/pages/ntalk/process/transferAdd.html",

  transferList: nativeUrl + "/pages/ntalk/process/transferList.html",

  /* （6）借用流程申请*/

  borrowAdd: nativeUrl + "/pages/ntalk/process/borrowAdd.html",
  borrowList: nativeUrl + "/pages/ntalk/process/borrowList.html",
  // zizhujiurl: "http://192.168.10.32:82/?id=", //  测试自助机
  zizhujiurl : 'http://172.30.88.38/?id=',  //   正式自助机
  // zizhujiurl : 'http://172.16.47.240:8090/#/index?id=123456',
  // zizhujiurl : 'http://127.0.0.1:8527/dist/index.html',
  // wsConnectNum:0,//webscoket连接次数
  // attConnectNum:0,//验签连接次数
  // openOfficialUrl:config.store_openOfficialUrl,
  // url_official:config.store_url_official,
  // url:config.store_url,
  // socket:config.store_socket,
  /** 正式 */
  // openShareFileUrl: "http://222.79.63.199:30029/#/?sfpId=1&sfpConfigJson=", //文件共享请求地址 正式
  // openOfficialUrl: "http://59.56.179.58:8081/#/?username=", //公文管理服务地址 正式
  // url_official: "http://59.56.179.58:8082/", //公文管理接口地址 正式
  // url: "http://top.shenghui56.com:8088/", //请求地址==>正式
  // socket: "ws://59.56.179.50:12020/oim/websocket",
  // off_url: `http://59.56.179.58:8082/`, //正式待办
  /** 测试 */
  postmessageNtalkUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://top.shenghui56.com:8088/"
      : "http://localhost:8080",
  postmessageShareUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://222.79.63.199:30029"
      : "http://localhost:8081",
  openShareFileUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://222.79.63.199:30029/#/?sfpId=1&sfpConfigJson="
      : "http://localhost:8081/#/?sfpId=1&sfpConfigJson=", //文件共享请求地址 测试
  openOfficialUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://59.56.179.58:8081/#/?username="
      : "http://192.168.10.92/#/?username=", //公文管理服务地址 测试
  // "http://172.16.47.244:8080/#/?username=", //公文管理服务地址 测试
  url_official:
    process.env.PROJECT_NAME == "online"
      ? "http://59.56.179.58:8082/"
      : // : "http://172.16.66.36/",
        "http://192.168.10.92:8080/", //公文管理接口地址 测试
  //本地测试
  url:
    process.env.PROJECT_NAME == "online"
      ? "http://top.shenghui56.com:8088/"
      : // ? "http://192.168.10.116:14000/"

        // :  "http://192.168.10.116:12000/", //请求地址==>测试
        // :  "http://192.168.10.116:14000/", //请求地址==>测试
        "http://192.168.10.94:13000/", //请求地址==>测试
  //  : "http://it.shenghui56.com/lspa/", //请求地址==>测试
  // "http://172.16.66.36:12000/", //请求地址==> 林佳奇
  // "http://172.16.66.67:12000/", //请求地址==> 林周
  socket:
    process.env.PROJECT_NAME == "online"
      ? "ws://59.56.179.50:12020/oim/websocket"
      : // ? "ws://192.168.10.116:14020/oim/websocket"

        // :  "ws://192.168.10.116:12020/oim/websocket",
        // :  "ws://192.168.10.116:14020/oim/websocket",
        "ws://192.168.10.94:13020/oim/websocket",
  // : "ws://it.shenghui56.com/lspc/oim/websocket",
  // "ws://172.16.66.36:12020/oim/websocket", //林佳奇
  // "ws://172.16.66.67:12020/oim/websocket", //林周
  off_url:
    process.env.PROJECT_NAME == "online"
      ? `http://59.56.179.58:8082/`
      : // : `http://172.16.66.36/`,
        `http://192.168.10.92:8080/`, //测试待办
  byLocalUrl: process.env.PROJECT_NAME == "online" ? 0 : 1, //是否从外壳获取验签 0:是 1:否
  // byLocalUrl: 0, //是否从外壳获取验签 1:否 0:是
  environment: process.env,

  // url: "http://192.168.10.94:12000/", //请求地址==>测试
  // socket: "ws://192.168.10.94:12020/oim/websocket",

  // url: "http://119.97.234.14:12000/", //请求地址==>测试
  // socket: "ws://119.97.234.14:12020/oim/websocket",

  // url: "http://172.16.66.53:12000/", //请求地址==>杨威测试
  // socket: "ws://172.16.66.53:12020/oim/websocket",
  // url: "http://192.168.10.32:12000/", //请求地址==>加密测试
  // socket: "ws://192.168.10.32:12020/oim/websocket",
  // url: "http://172.16.66.152:12000/", //请求地址==>加密测试
  // socket: "ws://172.16.66.152:12020/oim/websocket",
  // url: "http://172.16.66.53:12000/", //请求地址==>加密测试
  // socket: "ws://172.16.66.53:12020/oim/websocket",

  // url: "http://172.16.47.234:12000/", //请求地址==>测试
  // socket: "ws://172.16.47.234:12020/oim/websocket",

  heartCheck: {
    timeout: 180000, //60s
    timeoutObj: null,
    reset: function() {
      clearTimeout(this.timeoutObj);
      this.timeoutObj = null;
      this.start();
    },
    sendHeart: function() {
      state.ws.send(
        JSON.stringify({
          head: {
            name: "",
            action: "1.000",
            method: "1.1.0001",
            version: "1",
            time: new Date().getTime()
          },
          body: {}
        })
      );
    },
    start: function() {
      let _this = this;
      if (this.timeoutObj == null) this.sendHeart();
      this.timeoutObj = setTimeout(function() {
        _this.sendHeart();
        _this.timeoutObj = true;
        _this.start();
      }, this.timeout);
    }
  },
  fontSetting: {
    underline: false,
    bold: false,
    italic: false,
    color: "000000",
    name: "Microsoft YaHei",
    size: 14
  },
  personInfoList: [
    //个人信息列表
    {
      title: "账号",
      field: "account"
    },
    {
      title: "工号",
      field: "employeeno"
    },
    {
      title: "性别",
      field: "gender"
    },
    {
      title: "部门",
      field: "departmentnames"
    },
    {
      title: "职务",
      field: "jobtitle"
    },
    {
      title: "手机号",
      field: "mobile"
    },
    {
      title: "电话",
      field: "telephone"
    },
    {
      title: "邮箱",
      field: "email"
    }
  ],
  dropDwonList: [
    "",
    "系统设置",
    "修改密码",
    "清理缓存",
    "下载手机版",
    "关于即时通讯",
    "退出登录"
  ], //下拉设置列表
  messageInfo: null,
  newMessageNotice: false,
  voicePrompt: false,
  deskNotic: false,
  minimized: false,
  copyValue: null,
  chating: false, //zk注释，当前聊天的激活状态,
  b4Leave: false, //zk注释,离开聊天时的chating状态
  defaultRemoteArr: [], //zk129新增，默认可以直接远程的人员（只包含分组）
  remoteMembers: [], //zk0301新增，默认可以直接远程的人员（当前激活的分组的组员）
  authMembers: [], //zk0203新增，哪些人获得了我的授权
  screenshotFilter: false,
  toUndoList: {},
  isCopyFile: "",
  nowMsgUserState: {},
  overtimeMsgKey: "",
  toReply: null, //右键回复
  loginInfo: null, // 登录信息  账号  密码   设备号  内网ip
  pickerOptions: {
    shortcuts: [
      {
        text: "最近一周",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
          picker.$emit("pick", [start, end]);
        }
      },
      {
        text: "最近一个月",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
          picker.$emit("pick", [start, end]);
        }
      },
      {
        text: "最近三个月",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
          picker.$emit("pick", [start, end]);
        }
      }
    ],
    disabledDate: time => {
      return time.getTime() > Date.now() + 24 * 3600 * 1000; //如果不包括今天。就是return time.getTime() > Date.now() - 24*3600*1000;
    }
  },
  search_list_array: {
    user: [],
    msg: [],
    broad: []
  }, //搜索结果
  searchValue: "", //综合搜索
  oldsearchval: "", //zk125新增，优化，暂存上次搜索的关键字
  timeoutObj: {}, //ak0429新增,记录每个公文的剩余查看时间
  defultPath: "", //默认安装路径
  isInputPWD: false, //同屏相关joinScreen
  isJoinScreen: false, //同屏相关joinScreen
  loadingShow: false, //同屏相关joinScreen
  isService: false, //当前是否是客服状态
  connectRemoteServer: false, //连接远程控制服务器
  connectShareScreenServer: false, //连接同屏中转服务器
  broadTreeData: null //广播选择部门
};

export default state;
=======
const nativeUrl = "http://192.168.1.147:8066";
// const nativeUrl = "http://192.168.10.92:9200";
//  "http://192.168.1.147:8066",
const state = {
  icReadDriveOpen: false, // 2022/4/21 zc新增 是否打开读取卡插件
  InstantSharingUrl: "http://119.97.234.14:8081/shareDemo/testData/page", //软件测评链接
  // Version: "V1.2.0.58", //  正式65了  116预发  58了
  Version:'V1.3.0.7',
  chatInputContent: {},
  chatFileList: {},
  myRegisterid: "", //远程注册码
  myControlPassword: "", //远程注册密码
  screenObj: null, //同屏参数
  screenRoomNo: null, //同屏房间链接码
  oldScreenPersonList: [], //同屏邀请人原数组
  initLogin: false,
  soketConnect: false,
  copyImg: null,
  account: null,
  password: null,
  initQCode: "",
  initStatus: true,
  openInterval: null,
  scoketStatus: false,
  scoketClose: true,
  uuid: new Date().getTime() + "",
  deviceId: new Date().getTime(),
  ws: null,
  font_configure: null, //字体配置
  user_configure: [
    {
      notify: "true",
      warningTone: "false",
      notice: "true",
      isLeave: false,
      leaveTime: 5,
      conversation: 15,
      bootlogin: false
    }
  ],
  user_hot_key: ["Alt+Q", "Alt+A", "Alt+R", "Ctrl+W", "1", ""],
  tree: {
    result: [],
    list: [],
    allCheck: false
  },
  myInfo: {},
  headPathUrl: null, // 本地头像的路径
  broadType: "",
  fids: null,
  token: null, //请求token
  token_official: null, //公文的token
  structure: null,
  receiveInfo: 0,
  sendInfo: 0, //发送状态
  isGroup: false, //是否群聊
  groupCheck: null, //群审核
  internetErr: false, //网络链接是否发生错误、断开
  updateUserStatus: null, //当前更新的人员状态
  syncUserStatus: null, //同步会话框的人员状态
  anchorPosition: null, //锚点定位字段
  anchorPosition_organization: null, //锚点定位字段
  updatedUserStatus: "1", //新增修改用户状态
  isMacAddressCommon: null, //新增判断远程控制是否为同一台电脑
  isUpdateSessionList: null, //新增强制刷新会话列表
  isArticleId: null, //新增文章上传图片
  imgMaxVolum: 1024 * 1024 * 4, // 限制发送图片的最大值
  imgDownLoadUrl: "api/v1/oim/head/user/downloadsmall.do?id=", //头像下载路径
  othersApps: [],

  officialManageTotal: 0, //公文未读数
  broadNoRead: 0, //广播未读数
  autoOpeners:[],

  // 固定申购申请

  purchaseAdd: nativeUrl + "/pages/ntalk/process/purchaseAdd.html",

  // 固定申购列表

  purchaseList: nativeUrl + "/pages/ntalk/process/purchaseList.html",
  //  低值易耗申购
  purchaseAddConsumables:
    nativeUrl + "/pages/ntalk/process/purchaseAddConsumables.html",
  // 列表
  purchaseListConsumables:
    nativeUrl + "/pages/ntalk/process/purchaseList_consumables.html",

  // 低值易耗品申领

  claimantsAdd: nativeUrl + "/pages/ntalk/process/claimantsAdd.html",
  // 列表
  claimantsList: nativeUrl + "/pages/ntalk/process/claimantsList.html",

  /* （4）报废流程申请 */
  scrapAdd: nativeUrl + "/pages/ntalk/process/scrapAdd.html",
  // 列表
  scrapList: nativeUrl + "/pages/ntalk/process/scrapList.html",

  /* （5）调拨流程申请*/
  transferAdd: nativeUrl + "/pages/ntalk/process/transferAdd.html",

  transferList: nativeUrl + "/pages/ntalk/process/transferList.html",

  /* （6）借用流程申请*/

  borrowAdd: nativeUrl + "/pages/ntalk/process/borrowAdd.html",
  borrowList: nativeUrl + "/pages/ntalk/process/borrowList.html",
  // zizhujiurl: "http://192.168.10.32:82/?id=", //  测试自助机
  // zizhujiurl : 'http://172.30.88.38/?id=',  //   正式自助机- 旧
  zizhujiurl : 'http://222.79.63.193/?id=',  //   正式自助机
  // zizhujiurl : 'http://172.16.47.240:8090/#/index?id=123456',
  // zizhujiurl : 'http://127.0.0.1:8527/dist/index.html',
  // wsConnectNum:0,//webscoket连接次数
  // attConnectNum:0,//验签连接次数
  // openOfficialUrl:config.store_openOfficialUrl,
  // url_official:config.store_url_official,
  // url:config.store_url,
  // socket:config.store_socket,
  /** 正式 */
  // openShareFileUrl: "http://222.79.63.199:30029/#/?sfpId=1&sfpConfigJson=", //文件共享请求地址 正式
  // openOfficialUrl: "http://59.56.179.58:8081/#/?username=", //公文管理服务地址 正式
  // url_official: "http://59.56.179.58:8082/", //公文管理接口地址 正式
  // url: "http://top.shenghui56.com:8088/", //请求地址==>正式
  // socket: "ws://59.56.179.50:12020/oim/websocket",
  // off_url: `http://59.56.179.58:8082/`, //正式待办
  /** 测试 */
  postmessageNtalkUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://top.shenghui56.com:8088/"
      : "http://localhost:8080",
  postmessageShareUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://222.79.63.199:30029"
      : "http://localhost:8081",
  openShareFileUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://222.79.63.199:30029/#/?sfpId=1&sfpConfigJson="
      : "http://localhost:8081/#/?sfpId=1&sfpConfigJson=", //文件共享请求地址 测试
  openOfficialUrl:
    process.env.PROJECT_NAME == "online"
      ? "http://59.56.179.58:8081/#/?username="
      : "http://192.168.10.92/#/?username=", //公文管理服务地址 测试
  // "http://172.16.47.244:8080/#/?username=", //公文管理服务地址 测试
  url_official:
    process.env.PROJECT_NAME == "online"
      ? "http://59.56.179.58:8082/"
      : // : "http://172.16.66.36/",
        "http://192.168.10.92:8080/", //公文管理接口地址 测试
  //本地测试
  url:
    process.env.PROJECT_NAME == "online"
      ? "http://top.shenghui56.com:8088/"
      : // ? "http://192.168.10.116:14000/"

        // :  "http://192.168.10.116:12000/", //请求地址==>测试
        // :  "http://192.168.10.116:14000/", //请求地址==>测试
       "http://192.168.10.94:13000/", //请求地址==>测试111
  //  : "http://it.shenghui56.com/lspa/", //请求地址==>测试
  // "http://172.16.66.36:12000/", //请求地址==> 林佳奇
  // "http://172.16.66.67:12000/", //请求地址==> 林周
  //"http://172.29.16.174:12000/", //请求地址==> 许莎
  socket:
    process.env.PROJECT_NAME == "online"
      ? "ws://59.56.179.50:12020/oim/websocket"
      : // ? "ws://192.168.10.116:14020/oim/websocket"

        // :  "ws://192.168.10.116:12020/oim/websocket",
        // :  "ws://192.168.10.116:14020/oim/websocket",
        "ws://192.168.10.94:13020/oim/websocket",
  // : "ws://it.shenghui56.com/lspc/oim/websocket",
  // "ws://172.16.66.36:12020/oim/websocket", //林佳奇
  // "ws://172.16.66.67:12020/oim/websocket", //林周
  off_url:
    process.env.PROJECT_NAME == "online"
      ? `http://59.56.179.58:8082/`
      : // : `http://172.16.66.36/`,
        `http://192.168.10.92:8080/`, //测试待办
  byLocalUrl: process.env.PROJECT_NAME == "online" ? 0 : 1, //是否从外壳获取验签 0:是 1:否
  // byLocalUrl: 0, //是否从外壳获取验签 1:否 0:是
  environment: process.env,

  // url: "http://192.168.10.94:12000/", //请求地址==>测试
  // socket: "ws://192.168.10.94:12020/oim/websocket",

  // url: "http://119.97.234.14:12000/", //请求地址==>测试
  // socket: "ws://119.97.234.14:12020/oim/websocket",

  // url: "http://172.16.66.53:12000/", //请求地址==>杨威测试
  // socket: "ws://172.16.66.53:12020/oim/websocket",
  // url: "http://192.168.10.32:12000/", //请求地址==>加密测试
  // socket: "ws://192.168.10.32:12020/oim/websocket",
  // url: "http://172.16.66.152:12000/", //请求地址==>加密测试
  // socket: "ws://172.16.66.152:12020/oim/websocket",
  // url: "http://172.16.66.53:12000/", //请求地址==>加密测试
  // socket: "ws://172.16.66.53:12020/oim/websocket",

  // url: "http://172.16.47.234:12000/", //请求地址==>测试
  // socket: "ws://172.16.47.234:12020/oim/websocket",

  heartCheck: {
    timeout: 180000, //60s
    timeoutObj: null,
    reset: function() {
      clearTimeout(this.timeoutObj);
      this.timeoutObj = null;
      this.start();
    },
    sendHeart: function() {
      state.ws.send(
        JSON.stringify({
          head: {
            name: "",
            action: "1.000",
            method: "1.1.0001",
            version: "1",
            time: new Date().getTime()
          },
          body: {}
        })
      );
    },
    start: function() {
      let _this = this;
      if (this.timeoutObj == null) this.sendHeart();
      this.timeoutObj = setTimeout(function() {
        _this.sendHeart();
        _this.timeoutObj = true;
        _this.start();
      }, this.timeout);
    }
  },
  fontSetting: {
    underline: false,
    bold: false,
    italic: false,
    color: "000000",
    name: "Microsoft YaHei",
    size: 14
  },
  personInfoList: [
    //个人信息列表
    {
      title: "账号",
      field: "account"
    },
    {
      title: "工号",
      field: "employeeno"
    },
    {
      title: "性别",
      field: "gender"
    },
    {
      title: "部门",
      field: "departmentnames"
    },
    {
      title: "职务",
      field: "jobtitle"
    },
    {
      title: "手机号",
      field: "mobile"
    },
    {
      title: "电话",
      field: "telephone"
    },
    {
      title: "邮箱",
      field: "email"
    }
  ],
  dropDwonList: [
    "",
    "系统设置",
    "修改密码",
    "清理缓存",
    "下载手机版",
    "关于即时通讯",
    "退出登录"
  ], //下拉设置列表
  messageInfo: null,
  newMessageNotice: false,
  voicePrompt: false,
  deskNotic: false,
  minimized: false,
  copyValue: null,
  chating: false, //zk注释，当前聊天的激活状态,
  b4Leave: false, //zk注释,离开聊天时的chating状态
  defaultRemoteArr: [], //zk129新增，默认可以直接远程的人员（只包含分组）
  remoteMembers: [], //zk0301新增，默认可以直接远程的人员（当前激活的分组的组员）
  authMembers: [], //zk0203新增，哪些人获得了我的授权
  screenshotFilter: false,
  toUndoList: {},
  isCopyFile: "",
  nowMsgUserState: {},
  overtimeMsgKey: "",
  toReply: null, //右键回复
  toReplyTemp: null, //右键回复信息缓存 20240306
  loginInfo: null, // 登录信息  账号  密码   设备号  内网ip
  pickerOptions: {
    shortcuts: [
      {
        text: "最近一周",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
          picker.$emit("pick", [start, end]);
        }
      },
      {
        text: "最近一个月",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
          picker.$emit("pick", [start, end]);
        }
      },
      {
        text: "最近三个月",
        onClick(picker) {
          const end = new Date();
          const start = new Date();
          start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
          picker.$emit("pick", [start, end]);
        }
      }
    ],
    disabledDate: time => {
      return time.getTime() > Date.now() + 24 * 3600 * 1000; //如果不包括今天。就是return time.getTime() > Date.now() - 24*3600*1000;
    }
  },
  search_list_array: {
    user: [],
    msg: [],
    broad: []
  }, //搜索结果
  searchValue: "", //综合搜索
  oldsearchval: "", //zk125新增，优化，暂存上次搜索的关键字
  timeoutObj: {}, //ak0429新增,记录每个公文的剩余查看时间
  defultPath: "", //默认安装路径
  isInputPWD: false, //同屏相关joinScreen
  isJoinScreen: false, //同屏相关joinScreen
  loadingShow: false, //同屏相关joinScreen
  isService: false, //当前是否是客服状态
  connectRemoteServer: false, //连接远程控制服务器
  connectShareScreenServer: false, //连接同屏中转服务器
  broadTreeData: null, //广播选择部门

  chatChooseFileWait: null, //聊天框等待用户选择图片/文件上传的信息

  dashboard: {
    searchText: '',
    searchTypes: [],
    partitionList: [],
    frequentlyUsedAppList: [],
  },
  searchResult: {
    searchText: '综合',
    searchType: '',
    mode: 'single',
  },
  myPending: {
    mode: 'card', // 列表list 卡片card
  },
};

export default state;
>>>>>>> .r47894
